import request from '@/utils/request'
const BASE_URL = '/intercept'
// 分页查询
export function getInterceptPageList(data) {
  return request({
    url: BASE_URL + '/getInterceptPageList',
    method: 'post',
    data
  })
}

// 新增
export function addIntercept(data) {
  return request({
    url: BASE_URL + '/addIntercept',
    method: 'post',
    data
  })
}

// 取消
export function cancelIntercept(data) {
  return request({
    url: BASE_URL + '/cancelIntercept',
    method: 'post',
    data
  })
}

